package com.jzlin.funhub.admin.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * .
 *
 * @author linjz
 * @since 2025/7/7
 */
@Data
@ApiModel
public class ArticleCommentPageDTO {
    @ApiModelProperty("评论id")
    private Long id;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("评论人id")
    private String userId;

    @ApiModelProperty("评论人昵称")
    private String userName;

    @ApiModelProperty("评论人头像")
    private String userAvatar;

    @ApiModelProperty("评论回复列表")
    private List<ArticleCommentRepliesDTO> replies;
}
